
<{extends file="<{$tempdir}>/public/admin.html"}>
<{block name=extendjs}>
<script type="text/javascript" language="javascript" src="<{$siteurl}>/templates/<{$tempdir}>/public/js/artdialog/plugins/iframeTools.js"></script>
<{/block}>
<{block name=controlname}>投诉管理列表<{/block}>
<{block name=bodylist}>
<div style="width:auto;overflow-x:hidden;overflow-y:auto">

    <div class="search">


        <div class="search_content">

            <form method="post" name="form1" action="<{ofunc type=url link="/adminpage/ask/module/complaintlist"}>">

            <label>投诉商家：</label>
            <input type="text" name="shopname" value="<{$searchvalue}>">
            <label>手机号码：</label>
            <input type="text" name="phone" value="<{$searchphone}>">

            <select name="typeidContent">
                <option>选择投诉类型</option>
                <{foreach from=$typelist key=myid item=items}>
                <option value="<{$items}>" <{if $typeidContent == $items}>selected<{/if}>><{$items}></option>
                <{/foreach}>
            </select>
                <input type="submit" value="确认查询" class="button">
                </form>
        </div>

    </div>



    <div class="tags">



        <div id="tagscontent">

            <div id="con_one_1">

                <div class="table_td" style="margin-top:10px;">

                    <form method="post" action="" onsubmit="return remind();"  id="delform">

                        <table border="0" cellspacing="2" cellpadding="4" class="list" name="table" id="table" width="100%">

                            <thead>

                            <tr>

                                <th width="60px"><input type="checkbox" id="chkall" name="chkall" onclick="checkall()"></th>

                                <th align="center">投诉商家</th>
                                <th width="200px" align="center">投诉类型</th>
                                <th align="center" width="350px">内容</th>

                                <th align="center" width="150px">投诉时间</th>
                                <th width="100px" align="center">手机号码</th>

                                <th align="center">操作</th>

                            </tr>

                            </thead>

                            <tbody>
                            <{foreach from=$list item=items}>
                            <tr class="s_out" onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="#ffffff">
                                <td align="center" ><input type="checkbox" name="id[]" value="<{$items['id']}>"></td>
                                <td align="center"><{$items['shopname']}></td>
                                <td width="200px" align="center">  <{$items['typeidContent']}></td>
                                <td align="center" width="350px"><{$items['content']}></td>
                                <td align="center" width="150px"><{$items['addtime']|date_format:"%Y-%m-%d %H:%M:%S"}></td>
                                <td width="100px" align="center"><{$items['phone']}></td>
                                <td align="center">
                                    <a onclick="return remind(this);" href="<{ofunc type=url link="/adminpage/ask/module/delshopreport/id/<{$items['id']}>/datatype/json"}>">删除</a>
                                </td>
                            </tr>
                            <{/foreach}>

                            </tbody>

                        </table>

                        <div class="blank20"></div>

                        <input type="hidden" name="stopoutenable" id="stopoutenable" value="4ce2f22509228162cadfc0ca0473ec19"/>

                    </form>

                    <div class="page_newc">
                        <div class="select_page">
                            <a href="#" onclick="checkword(true);">全选</a>/<a href="#" onclick="checkword(false);">取消</a>
                            <a onclick="return remindall(this);" href="<{ofunc type=url link="/adminpage/ask/module/delshopreport/datatype/json"}>" class="delurl">删除</a>
                        </div>
                        <div class="show_page"><ul><{$pagecontent}></ul></div>
                    </div>

                    <div class="blank20"></div>

                </div>

            </div>

        </div>

    </div>


</div>
</div>
<{/block}>